body,
div,
p,
ul,
li,
table,
th,
td,
a,
span,
canvas {
    margin: 0;
    padding: 0;
    background: no-repeat center / contain;
    cursor: default;
}

body {
    display: block;
    position: relative;
    margin: auto;
    max-width: 10rem;
    min-width: 4.26666667rem;
    font-size: 0.16rem;
    font-family: "Microsoft Yahei", "Arial", sans-serif;
    background-color: #ff7040;
}

#wrap {
    overflow: hidden;
    position: relative;
    height: 16.01333333rem;
    margin-top: -0.01333333rem;
    height: 17.8rem;
    background-image: url("../images/bg.jpg");
    background-size: contain;
}

.caidai {
    position: absolute;
    width: 100%;
    height: 13.65333333rem;
    background-image: url("../images/caidai.png");
}

.header {
    padding: 0.49333333rem;
}

.rule,
.my {
    position: relative;
    z-index: 1;
    width: 1.2rem;
    height: 0.66666667rem;
    border: 1px solid #d89720;
    font-size: 0.32rem;
    line-height: 0.65333333rem;
    text-align: center;
    color: #d89720;
    border-radius: 0.06666667rem;
}

.my {
    width: 1.6rem;
}

.block {
    display: block;
}

.none {
    display: none;
}

.r {
    position: relative;
}

.a {
    position: absolute;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.clearfix:after {
    content: "";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0;
}

/*规则弹窗*/
#mask-rule,
#mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

#mask-rule .box-rule {
    position: relative;
    margin: 20% auto;
    padding-top: 0.53333333rem;
    width: 90%;
    height: 70%;
    border-radius: 0.26666667rem;
    background-color: #fe5c51;
}

#mask-rule .box-rule .star {
    position: absolute;
    left: 50%;
    top: -1.33333333rem;
    margin-left: -1.73333333rem;
    width: 3.45333333rem;
    height: 1.16rem;
    background-image: url("../images/star2.png");
}

#mask-rule .box-rule h2 {
    width: 100%;
    text-align: center;
    line-height: 0.45333333rem;
    font-size: 0.45333333rem;
    font-weight: normal;
    color: #fff;
}

#mask-rule .box-rule h2::before,
#mask-rule .box-rule h2::after {
    display: inline-block;
    content: "";
    width: 0.24rem;
    height: 0.24rem;
    background-color: #fff;
    border-radius: 50%;
}

#mask-rule .box-rule h2::before {
    margin-right: 0.32rem;
}

#mask-rule .box-rule h2::after {
    margin-left: 0.32rem;
}

#mask-rule #close-rule {
    position: absolute;
    right: 0.45333333rem;
    top: 0.50666667rem;
    width: 0.511433333rem;
    height: 0.511433333rem;
    background-image: url("../images/close.png");
}

/*内容盒子*/
#mask-rule .con {
    overflow: auto;
    position: relative;
    margin: 0.53333333rem auto;
    padding-right: 0.2rem;
    width: 7.73333333rem;
    height: 82%;
    line-height: 0.64rem;
    font-size: 0.34666667rem;
    color: #fff;
}

#mask-rule .con .text {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: auto;
}

/*次数*/
.border {
    width: 5.06666667rem;
    height: 0.84rem;
    margin: -0.5rem auto 0.33333333rem;
    background-image: url("../images/border.png");
    font-size: 0.32rem;
    line-height: 0.84rem;
    text-align: center;
    color: #fff;
}

.scroll {
    width: 7.33333333rem;
    height: 2.33333333rem;
    margin: auto;
}

.scroll p {
    width: 4.76rem;
    height: 0.29333333rem;
    margin: auto;
    background-image: url("../images/list.png");
}

.scroll div {
    width: 100%;
    height: 1.06666667rem;
    margin-top: 0.26666667rem;
    padding: 0.26666667rem 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 0.13333333rem;
}

.scroll ul {
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.scroll ul li {
    position: relative;
    top: 0;
    text-align: center;
    font-size: 0.29333333rem;
    line-height: 0.53333333rem;
    color: #fff;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

/*中奖提示*/
#mask .blin {
    width: 100%;
    height: 100%;
    background-image: url("../images/gold.png");
    -o-animation: circle 10s linear infinite;
    -ms-animation: circle 10s linear infinite;
    -moz-animation: circle 10s linear infinite;
    -webkit-animation: circle 10s linear infinite;
    animation: circle 10s linear infinite;
}

@keyframes circle {
    0% {
        -o-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#mask .caidai {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background-image: url("../images/dianzhui.png");
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
}

#mask .winning {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    width: 8rem;
    height: 6.8rem;
    margin: -3.46666667rem 0 0 -4rem;
    -o-transform: scale(0.1);
    -ms-transform: scale(0.1);
    -moz-transform: scale(0.1);
    -webkit-transform: scale(0.1);
    transform: scale(0.1);
}

#mask .reback {
    -o-animation: reback .5s linear forwards;
    -ms-animation: reback .5s linear forwards;
    -moz-animation: reback .5s linear forwards;
    -webkit-animation: reback .5s linear forwards;
    animation: reback .5s linear forwards;
}

@keyframes reback {
    100% {
        -o-transform: scale(1);
        -ms-transform: scale(1);
        -moz-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

.winning .red-head {
    position: relative;
    top: -0.33333333rem;
    width: 100%;
    height: 4.46666667rem;
    background-image: url("../images/top.png");
}

.winning .red-body {
    position: relative;
    top: -2.13333333rem;
    z-index: 2;
    width: 100%;
    height: 4.8rem;
    background-image: url("../images/bottom.png");
}

.winning #card {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    margin-left: -3.2rem;
    margin-top: -1.06666667rem;
    width: 80%;
    height: 4.26666667rem;
    background-image: url("../images/middle.png");
    -o-transition: top .5s;
    -ms-transition: top .5s;
    -moz-transition: top .5s;
    -webkit-transition: top .5s;
    transition: top .5s;
}

#card .win {
    display: block;
    margin: 0.13333333rem auto;
    width: 92%;
    height: 3.86666667rem;
    text-align: center;
}

#card img {
    margin-top: 0.28rem;
    width: 3.3rem;
    height: 3.3rem;
}

.winning .pull {
    -o-animation: card .5s linear forwards;
    -ms-animation: card .5s linear forwards;
    -moz-animation: card .5s linear forwards;
    -webkit-animation: card .5s linear forwards;
    animation: card .5s linear forwards;
}

@keyframes card {
    100% {
        margin-top: -3.2rem;
    }
}

.winning #message {
    position: absolute;
    top: 1.8222rem;
    left: 1.1222rem;
    text-align: center;
    width: 68.5%;
    padding: 0.1rem;
    color: #fff;
    font-size: 0.4rem;
    background-color: #ff8658;
    border-radius: 25px;
    border: 1px solid #f96d38;
}

.winning .btn {
    position: absolute;
    left: 50%;
    bottom: 2%;
    z-index: 2;
    width: 4.85333333rem;
    height: 1.54666667rem;
    margin-left: -2.42666667rem;
    background-image: url("../images/button.png");
    -o-animation: btnChange 2s linear infinite;
    -ms-animation: btnChange 2s linear infinite;
    -moz-animation: btnChange 2s linear infinite;
    -webkit-animation: btnChange 2s linear infinite;
    animation: btnChange 2s linear infinite;
}

@-webkit-keyframes btnChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes btnChange {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.8);
    }
    100% {
        transform: scale(1);
    }
}

#close {
    opacity: 0;
    position: absolute;
    right: 0rem;
    top: -1.06666667rem;
    z-index: 10;
    width: 0.85333333rem;
    height: 0.85333333rem;
    background-image: url("../images/close.png");
    -o-animation: fadein .5s .5s linear forwards;
    -ms-animation: fadein .5s .5s linear forwards;
    -moz-animation: fadein .5s .5s linear forwards;
    -webkit-animation: fadein .5s .5s linear forwards;
    animation: fadein .5s .5s linear forwards;
}

@keyframes fadein {
    100% {
        opacity: 1;
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

/*轮盘*/
canvas {
    background: no-repeat center / contain;
    cursor: default;
    display: block;
    width: 100%;
    margin-top: 110px;
}

.lottery {
    position: relative;
    display: inline-block;
    text-align: center;
}

.lottery img {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -54px;
    margin-top: -7px;
    cursor: pointer;
    width: 26%;
}


/*个人信息*/
#personal-info,
#mask {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
}

#personal-info .box-rule {
    position: relative;
    margin: 20% auto;
    padding-top: 0.53333333rem;
    width: 90%;
    height: 70%;
    border-radius: 0.26666667rem;
    background-color: #fe5c51;
}

#personal-info .box-rule .star {
    position: absolute;
    left: 50%;
    top: -1.33333333rem;
    margin-left: -1.73333333rem;
    width: 3.45333333rem;
    height: 1.16rem;
    background-image: url("../images/star2.png");
}

#personal-info .box-rule h2 {
    width: 100%;
    text-align: center;
    line-height: 0.45333333rem;
    font-size: 0.45333333rem;
    font-weight: normal;
    color: #fff;
}

#personal-info .box-rule h2::before,
#personal-info .box-rule h2::after {
    display: inline-block;
    content: "";
    width: 0.24rem;
    height: 0.24rem;
    background-color: #fff;
    border-radius: 50%;
}

#personal-info .box-rule h2::before {
    margin-right: 0.32rem;
}

#personal-info .box-rule h2::after {
    margin-left: 0.32rem;
}

#personal-info #close-rule {
    position: absolute;
    right: 0.45333333rem;
    top: 0.50666667rem;
    width: 0.511433333rem;
    height: 0.511433333rem;
    background-image: url("../images/close.png");
}

/*内容盒子*/
#personal-info .con {
    overflow: auto;
    position: relative;
    margin: 0.53333333rem auto;
    padding-right: 0.2rem;
    width: 7.73333333rem;
    height: 82%;
    line-height: 0.64rem;
    font-size: 0.34666667rem;
    color: #fff;
}

#personal-info .con .text {
    position: absolute;
    top: 0;
    left: 0;
    width: inherit;
    height: auto;
}

.form-control {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.form-control::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.form-control:-ms-input-placeholder {
    color: #999;
}
.form-control::-webkit-input-placeholder {
    color: #999;
}
.form-control::-ms-expand {
    background-color: transparent;
    border: 0;
}
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
    background-color: #eee;
    opacity: 1;
}
.form-control[disabled],
fieldset[disabled] .form-control {
    cursor: not-allowed;
}
textarea.form-control {
    height: auto;
}
input[type="search"] {
    -webkit-appearance: none;
}